package com.sharemarking.system.service.impl;

import com.sharemarking.system.entity.Role;
import com.sharemarking.system.mapper.RoleMapper;
import com.sharemarking.system.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RoleServiceImpl implements RoleService {
	
	@Autowired
	private RoleMapper rr;
	
	@Override
	public Iterable<Role> getAllRoles(){
		return rr.getAll();
	}
}
